package com.sy.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @description: 码起 自动生成代码
 * @author: 小毛
 * @create: 2020-11-30 11:42:53
 */
@Data
@NoArgsConstructor
public class CouponTemplate implements Serializable {
    private Integer id;
    private String name;
    /** 是否可用*/
    private Integer available;

    /** 是否过期*/
    private Integer expired;
    private String logo;
    private String intro;
    private String category;
    private Integer isgeneral;
    private Date create_time;
    private Date expired_time;
    private Integer coupon_count;
    private String template_code;
    private Integer money;
    private Integer rule;

    public CouponTemplate(String name, String logo, String intro, String category, Integer isgeneral, Date expired_time, Integer coupon_count, Integer money, Integer rule) {
        this.name = name;
        this.logo = logo;
        this.intro = intro;
        this.category = category;
        this.isgeneral = isgeneral;
        this.expired_time = expired_time;
        this.coupon_count = coupon_count;
        this.money = money;
        this.rule = rule;
    }
}